<?php
//引用dbconn.php取得$dbh(pdo object) 
require_once ('lib\dbconn.php');

$statement = $dbh->prepare('SELECT * FROM keyword ');

$statement->execute();
$rows =$statement->FetchALL();
$keyword ='';
foreach ($rows as  $key => $row){
  $keyword =$keyword.$row['keyword'].',';
}
$keyword= substr($keyword,0,strlen($keyword)-1); 

?>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta id=metaKey name=Keywords content=”<?php echo($keyword);?>″><meta id=metaDis name=Description content=”<?php echo($keyword);?>″>
    <link rel=icon href=favicon.ico>
<!--[if lt IE 10]>
<script>
    var tpl = "<h3>您使用的ie版本過低，請升級！</h3>"
    document.write(tpl);
    window.location.href='https://support.microsoft.com/zh-cn/help/17621/internet-explorer-downloads'
</script>
<![endif]--><title>開店+ 加盟開店就是快</title><link href=static/css/about.cc488f37.css rel=prefetch><link href=static/js/about.8476e866.js rel=prefetch><link href=static/css/app.b77e118b.css rel=preload as=style><link href=static/css/chunk-vendors.6ae5bae9.css rel=preload as=style><link href=static/js/app.565b4b87.js rel=preload as=script><link href=static/js/chunk-vendors.e0d90894.js rel=preload as=script><link href=static/css/chunk-vendors.6ae5bae9.css rel=stylesheet><link href=static/css/app.b77e118b.css rel=stylesheet></head><body><noscript><strong>We're sorry but laozhang doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=static/js/chunk-vendors.e0d90894.js></script><script src=static/js/app.565b4b87.js></script></body></html>